<template>
  <div class="">
    <p>测试</p>
    <van-button @click="getMessageList" type="success">获取消息列表</van-button>
  </div>
</template>

<script lang="ts" setup>
import axios from 'axios'
const getMessageList = async () => {
  const res = await axios.get('/patient/message/list')
  console.log('---res---', res)
}
</script>
